<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.0.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"yoursite.com","root":"/","scheme":"Mist","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":true},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="WebP是一种相对较新的开源图像格式，它为Google设计的网页上的图像提供了卓越的无损和有损压缩。">
<meta property="og:type" content="article">
<meta property="og:title" content="使用Google官方推荐的webp进行图片压缩">
<meta property="og:url" content="http://yoursite.com/2020/03/21/%E4%BD%BF%E7%94%A8Google%E5%AE%98%E6%96%B9%E6%8E%A8%E8%8D%90%E7%9A%84webp%E8%BF%9B%E8%A1%8C%E5%9B%BE%E7%89%87%E5%8E%8B%E7%BC%A9/index.html">
<meta property="og:site_name" content="FU">
<meta property="og:description" content="WebP是一种相对较新的开源图像格式，它为Google设计的网页上的图像提供了卓越的无损和有损压缩。">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://oss.chenjunxin.com/picture/blogPicture/93260b1f_webp_support_status.webp">
<meta property="og:image" content="https://oss.chenjunxin.com/picture/blogPicture/93260b1f_webp_00.webp">
<meta property="article:published_time" content="2020-03-21T09:11:16.000Z">
<meta property="article:modified_time" content="2020-08-02T11:49:36.758Z">
<meta property="article:author" content="fu">
<meta property="article:tag" content="图片压缩">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://oss.chenjunxin.com/picture/blogPicture/93260b1f_webp_support_status.webp">

<link rel="canonical" href="http://yoursite.com/2020/03/21/%E4%BD%BF%E7%94%A8Google%E5%AE%98%E6%96%B9%E6%8E%A8%E8%8D%90%E7%9A%84webp%E8%BF%9B%E8%A1%8C%E5%9B%BE%E7%89%87%E5%8E%8B%E7%BC%A9/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>使用Google官方推荐的webp进行图片压缩 | FU</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">FU</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/tags/" rel="section"><i class="tags fa-fw"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/categories/" rel="section"><i class="th fa-fw"></i>分类</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/03/21/%E4%BD%BF%E7%94%A8Google%E5%AE%98%E6%96%B9%E6%8E%A8%E8%8D%90%E7%9A%84webp%E8%BF%9B%E8%A1%8C%E5%9B%BE%E7%89%87%E5%8E%8B%E7%BC%A9/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="fu">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="FU">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          使用Google官方推荐的webp进行图片压缩
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2020-03-21 17:11:16" itemprop="dateCreated datePublished" datetime="2020-03-21T17:11:16+08:00">2020-03-21</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2020-08-02 19:49:36" itemprop="dateModified" datetime="2020-08-02T19:49:36+08:00">2020-08-02</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">工具</span></a>
                </span>
                  ，
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%9B%BE%E7%89%87%E5%8E%8B%E7%BC%A9/" itemprop="url" rel="index"><span itemprop="name">图片压缩</span></a>
                </span>
                  ，
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%9B%BE%E7%89%87%E5%8E%8B%E7%BC%A9/WebP/" itemprop="url" rel="index"><span itemprop="name">WebP</span></a>
                </span>
            </span>

          
            <div class="post-description">WebP是一种相对较新的开源图像格式，它为Google设计的网页上的图像提供了卓越的无损和有损压缩。</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h1 id="WebP介绍"><a href="#WebP介绍" class="headerlink" title="WebP介绍"></a>WebP介绍</h1><p>&emsp;WebP是一种相对较新的开源图像格式，可为Web上的图像提供出色的无损和有损压缩。 使用WebP，网站管理员和Web开发人员可以创建更小，更丰富的图像，从而使Web更快。<br>&emsp;与PNG相比，WebP无损图像的尺寸要小26％。 在同等的SSIM质量指数下，WebP有损图像比同类JPEG图像小25-34％。无损WebP支持透明性（也称为Alpha通道），而仅增加了22％的字节数。 对于可以接受有损RGB压缩的情况，有损WebP还支持透明性，与PNG相比，文件大小通常小3倍。<br>&emsp;既然我们已经认识到在可能的情况下使用WebP格式是有价值的，那么很重要的一点是—它不能完全替代 JPEG 和 PNG，因为浏览器对 WebP 支持并不完全普及。<br>&emsp;在撰写本文时，Safari 和 旧的IE 都是不支持WebP的浏览器。<br><img src="https://oss.chenjunxin.com/picture/blogPicture/93260b1f_webp_support_status.webp"><br>&emsp;根据 <a target="_blank" rel="noopener" href="https://caniuse.com/#search=WebP">caniuse.com</a> 的数据，全球有77.63%的用户使用支持WebP的浏览器。这意味着，通过使用 WebP 图像，可以为77.63% 的用户提供更快的 web 页面及更好的体验。<br>&emsp;要使用它，需要下载适用于Linux，Windows和Mac OS X的预编译的实用程序。</p>
<h1 id="Linux中安装使用WebP工具"><a href="#Linux中安装使用WebP工具" class="headerlink" title="Linux中安装使用WebP工具"></a>Linux中安装使用WebP工具</h1><h2 id="安装WebP"><a href="#安装WebP" class="headerlink" title="安装WebP"></a>安装WebP</h2><p>Manjaro/ArchLinux系统下,直接在终端运行命令安装就可以了:</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo pacaman -S libwebp</span><br></pre></td></tr></table></figure>
<p>在Linux发行版上，首先从Google Googles存储库下载webp包，如下所示。</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">$ wget -c https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.1.0-linux-x86-64.tar.gz</span><br><span class="line"></span><br><span class="line">或者</span><br><span class="line"></span><br><span class="line">$ curl -c https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.1.0-linux-x86-64.tar.gz</span><br></pre></td></tr></table></figure>

<p>然后解压该文件并进入解压缩的包目录中:</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">$ tar -xvf libwebp-1.1.0-linux-x86-64.tar.gz </span><br><span class="line">$ <span class="built_in">cd</span> libwebp-1.1.0-linux-x86-64/</span><br><span class="line">$ <span class="built_in">cd</span> bin/</span><br><span class="line">$ ls</span><br></pre></td></tr></table></figure>
<p><img src="https://oss.chenjunxin.com/picture/blogPicture/93260b1f_webp_00.webp"></p>
<p><strong>Webp软件包</strong><br>该软件包包含一个预编译库（ libwebp ），用于将webp编码或解码以及其他各种webp实用程序。</p>
<ul>
<li>anim_diff - 显示动画图像之间差异</li>
<li>anim_dump - 转储动画图像之间差异</li>
<li>cwebp - webp编码器</li>
<li>dwebp - webp解码器</li>
<li>gif2webp - 将GIF图像转换为webp</li>
<li>img2webp - 用于将一系列图像转换为动画webp文件的工具。</li>
<li>vwebp - webp文件查看器</li>
<li>webpinfo - 用于查看有关webp图像文件的信息</li>
<li>webpmux - 用于从静态的webp images创建动态的webp，或者从动态的webp提取静态的webp images</li>
</ul>
<h2 id="WebP转换实例"><a href="#WebP转换实例" class="headerlink" title="WebP转换实例"></a>WebP转换实例</h2><p>将webp工具目录添加至PATH中，编辑~/.bashrc添加以下内容：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">export PATH&#x3D;$PATH:~&#x2F;libwebp-1.1.0-linux-x86-64&#x2F;bin</span><br></pre></td></tr></table></figure>
<p>保存该文件并退出。 然后在终端执行<code>source ~/.bashrc</code>。</p>
<h2 id="cwebp使用"><a href="#cwebp使用" class="headerlink" title="cwebp使用"></a>cwebp使用</h2><p>将一个图像文件压缩成一个webp文件，输入文件可以是PNG,JPEG,TIFF,WebP等等。<br>语法：  </p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">cwebp [options] input_file -o output_file.webp</span><br></pre></td></tr></table></figure>
<p>选项</p>
<ul>
<li>-o string<br>指定输出文件名</li>
<li>-h，-help<br>简单的使用说明</li>
<li>-H，-longhelp<br>详细的使用说明</li>
<li>-version<br>版本号</li>
<li>-lossless<br>对图像进行无损编码</li>
<li>-q float<br>指定压缩因素，范围是0-100，默认为75</li>
<li>-z int<br>在0-9之间切换无损耗压缩模式，0级最快，9级最慢。快速模式产生的文件大小比较慢的文件要大。默认是6。如果-q或者-m之后被使用，-z将无效。</li>
<li>-mt<br>如果可能的话，使用多线程编码</li>
<li>-low_memory<br>减少对有损编码的内存使用。</li>
<li>-f int<br>指定过滤器的强度，范围在0(不过滤)-100(最大过滤)，值越高图像就越平滑，典型的值通常在20-50之间。</li>
<li>-sns int<br>指定空间噪声形成的振幅，范围为0(弱)-100(强)，默认为50。</li>
<li>-progress<br>报告编码进展百分比。<br>例子:<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line">$ cwebp images/flower.jpg -o images/flower.webp <span class="comment"># 转换单个文件</span></span><br><span class="line">$ cwebp -q 50 -lossless picture.png -o picture_lossless.webp <span class="comment"># 将picture.png以50的质量无损转换为webp</span></span><br><span class="line">$ cwebp -q 70 picture_with_alpha.png -o picture_with_alpha.webp</span><br><span class="line">$ cwebp -sns 70 -f 50 picture.png -o picture.webp</span><br><span class="line">$ <span class="keyword">for</span> file <span class="keyword">in</span> ~/temp/*; <span class="keyword">do</span> cwebp -lossless <span class="string">&quot;<span class="variable">$file</span>&quot;</span> -o <span class="string">&quot;<span class="variable">$&#123;file%.*&#125;</span>.webp&quot;</span>;<span class="keyword">done</span> <span class="comment"># 无损转换整个目录下的文件</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 推荐 将quality设置为85会生成质量与PNG相当但小得多的WebP图像。对于jpeg，将quality设置为75可以在视觉和文件大小之间取得很好的平衡。</span></span><br><span class="line">$ cwebp -q 75 picture_with_alpha.jpg -o picture_with_alpha.webp</span><br><span class="line">$ cwebp -q 85 picture_with_alpha.png -o picture_with_alpha.webp</span><br><span class="line"></span><br><span class="line"><span class="comment"># 使用vwebp工具查看转换后的webp图像</span></span><br><span class="line">$ vwebp picture_lossless.webp</span><br></pre></td></tr></table></figure>

</li>
</ul>
<blockquote>
<p>编码器，标准和高级选项<a target="_blank" rel="noopener" href="https://developers.google.com/speed/webp/docs/cwebp">文档</a></p>
</blockquote>
<h1 id="dwebp使用"><a href="#dwebp使用" class="headerlink" title="dwebp使用"></a>dwebp使用</h1><p>将WebP文件解压成一个图像文件，类型可以是JPG，PNG，PAM，PPM，PGM等等。<br>语法：  </p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">dwebp [options] input_file.webp</span><br></pre></td></tr></table></figure>
<p>选项</p>
<ul>
<li>-h<br>打印用法总结。</li>
<li>-version<br>打印版本号。</li>
<li>-o string<br>指定输出文件名</li>
<li>-bmp<br>将输出格式更改为未压缩的BMP。</li>
<li>-tiff<br>将输出格式更改为未压缩的TIFF。</li>
<li>-pam<br>将输出格式更改为PAM(保留alpha)。</li>
<li>-ppm<br>将输出格式更改为PPM(丢弃alpha)。</li>
<li>-pgm<br>将输出格式更改为PGM。<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ dwebp image.webp -o image.png</span><br></pre></td></tr></table></figure>

</li>
</ul>
<blockquote>
<p>解码器，命令行选项<a target="_blank" rel="noopener" href="https://developers.google.com/speed/webp/docs/dwebp">文档</a></p>
</blockquote>
<h1 id="更多WebP的使用"><a href="#更多WebP的使用" class="headerlink" title="更多WebP的使用"></a>更多WebP的使用</h1><p><a target="_blank" rel="noopener" href="https://developers.google.com/speed/webp/docs/using">https://developers.google.com/speed/webp/docs/using</a></p>
<h1 id="参考链接"><a href="#参考链接" class="headerlink" title="参考链接"></a>参考链接</h1><ul>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/aa464971/article/details/77963949">WebP官方转换工具手把手安装教程</a></li>
<li><a target="_blank" rel="noopener" href="https://www.jianshu.com/p/61ab330a6de6">WebP - Mac上使用cwebp,dwebp,webpmux工具</a></li>
<li><a target="_blank" rel="noopener" href="https://www.howtoing.com/convert-images-to-webp-format-in-linux">如何在Linux中将图像转换为WebP格式</a></li>
<li><a target="_blank" rel="noopener" href="https://www.soasurs.com/2019/09/10/Switching-to-WebP/">用 WebP 作为你的首选图片文件格式</a></li>
<li><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/58419577">Web 性能优化： 图片优化让网站大小减少 62%</a></li>
</ul>

    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/%E5%9B%BE%E7%89%87%E5%8E%8B%E7%BC%A9/" rel="tag"># 图片压缩</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2020/03/03/MD5-SHA-GPG%E5%92%8CPGP/" rel="prev" title="MD5,SHA,GPG和PGP">
      <i class="fa fa-chevron-left"></i> MD5,SHA,GPG和PGP
    </a></div>
      <div class="post-nav-item">
    <a href="/2020/04/08/Nginx%E4%B8%8A%E9%83%A8%E7%BD%B2TLS1-3%E5%92%8CBrotli/" rel="next" title="Nginx上部署TLS1.3和Brotli">
      Nginx上部署TLS1.3和Brotli <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#WebP%E4%BB%8B%E7%BB%8D"><span class="nav-text">WebP介绍</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#Linux%E4%B8%AD%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8WebP%E5%B7%A5%E5%85%B7"><span class="nav-text">Linux中安装使用WebP工具</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%AE%89%E8%A3%85WebP"><span class="nav-text">安装WebP</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#WebP%E8%BD%AC%E6%8D%A2%E5%AE%9E%E4%BE%8B"><span class="nav-text">WebP转换实例</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#cwebp%E4%BD%BF%E7%94%A8"><span class="nav-text">cwebp使用</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#dwebp%E4%BD%BF%E7%94%A8"><span class="nav-text">dwebp使用</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E6%9B%B4%E5%A4%9AWebP%E7%9A%84%E4%BD%BF%E7%94%A8"><span class="nav-text">更多WebP的使用</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%8F%82%E8%80%83%E9%93%BE%E6%8E%A5"><span class="nav-text">参考链接</span></a></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">fu</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives">
          <span class="site-state-item-count">9</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">9</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
          
        <span class="site-state-item-count">15</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
        <a href="https://github.com/yourname" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;yourname" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://weibo.com/yourname" title="Weibo → https:&#x2F;&#x2F;weibo.com&#x2F;yourname" rel="noopener" target="_blank"><i class="fab fa-weibo fa-fw"></i>Weibo</a>
      </span>
  </div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">fu</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://mist.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Mist</a> 强力驱动
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  




  
<script src="/js/local-search.js"></script>













  

  

</body>
</html>
